#include "../simhash/cppjieba/Jieba.hpp"
using namespace cppjieba;

/*
 * 注意：为保证后续程序的兼容性，请使用simhash的cppjieba
 * 因为simhash的cppjieba和cppjieba的接口略有不同，用cppjieba
 * 会产生后续兼容性问题
 * */

#include <vector>
#include <string>
using std::string;
using std::vector;

class SplitTool {
    const string DICT_PATH = "../../../include/simhash/dict/jieba.dict.utf8";
    const string HMM_PATH = "../../../include/simhash/dict/hmm_model.utf8";
    const string USER_DICT_PATH = "../../../include/simhash/dict/user.dict.utf8";

public:
    SplitTool();

    vector<string> cut(const string &);

private:
    Jieba _jieba;
};
